import 'package:fluttertoast/fluttertoast.dart' as native;
import 'package:flutter/material.dart';

class Alert {
  /// 简单提示
  static  showToast(String msg) {
    native.Fluttertoast.showToast(
      msg: msg,
      toastLength: native.Toast.LENGTH_SHORT,
      gravity: native.ToastGravity.CENTER,
      backgroundColor: const Color(0xb3000000),
      textColor: Colors.white,
      fontSize: 11
    );
  }
}